package com.freeme.cameraplugin.watermarkmode.model;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.freeme.cameraplugin.watermarkmode.R;

public final class WatermarkResouceId {
    public static final String TRAVEL_0 = "travel0";
    public static final String TRAVEL_1 = "travel1";
    public static final String TRAVEL_2 = "travel2";

    public static final String FOOD_0 = "food0";
    public static final String FOOD_1 = "food1";
    public static final String FOOD_2 = "food2";

    public static final String CATCHWORD_0 = "catchword0";
    public static final String CATCHWORD_1 = "catchword1";
    public static final String CATCHWORD_2 = "catchword2";

    public static final String REGARDS_0 = "regards0";
    public static final String REGARDS_1 = "regards1";
    public static final String REGARDS_2 = "regards2";

    public static final String SELFIE_0 = "selfie0";
    public static final String SELFIE_1 = "selfie1";
    public static final String SELFIE_2 = "selfie2";

    public static final String MOOD_0 = "mood0";
    public static final String MOOD_1 = "mood1";
    public static final String MOOD_2 = "mood2";

    public static final String TYPE_TRAVEL = "travel";
    public static final String TYPE_FOOD = "food";
    public static final String TYPE_CATCHWORD = "catchword";
    public static final String TYPE_REGARDS = "regards";
    public static final String TYPE_SELFIE = "selfie";
    public static final String TYPE_MOOD = "mood";

    public final static HashMap<String, WatermarkItemInfo> ITEM_RESOURCE_IDS = new HashMap<String, WatermarkItemInfo>() {
        {
            put(TRAVEL_0, new WatermarkItemInfo(R.layout.watermark_template_0,
                    R.color.watermark_color_1, R.drawable.ic_watermark_0_0,
                    R.drawable.watermark_0_0, 0));
            put(TRAVEL_1, new WatermarkItemInfo(R.layout.watermark_template_0,
                    R.color.watermark_color_1, R.drawable.ic_watermark_0_1,
                    R.drawable.watermark_0_1, 0));
            put(TRAVEL_2, new WatermarkItemInfo(R.layout.watermark_template_0,
                    R.color.watermark_color_1, R.drawable.ic_watermark_0_2,
                    R.drawable.watermark_0_2, 0));

            put(FOOD_0, new WatermarkItemInfo(R.layout.watermark_template_1,
                    R.color.watermark_color_1, R.drawable.ic_watermark_1_0,
                    R.drawable.watermark_1_0, 0));
            put(FOOD_1, new WatermarkItemInfo(R.layout.watermark_template_1,
                    R.color.watermark_color_1, R.drawable.ic_watermark_1_1,
                    R.drawable.watermark_1_1, 0));
            put(FOOD_2, new WatermarkItemInfo(R.layout.watermark_template_1,
                    R.color.watermark_color_1, R.drawable.ic_watermark_1_2,
                    R.drawable.watermark_1_2, 0));

            put(CATCHWORD_0, new WatermarkItemInfo(R.layout.watermark_template_2,
                    R.color.watermark_color_3, R.drawable.ic_watermark_2_0,
                    R.drawable.watermark_2_0, 0));
            put(CATCHWORD_1, new WatermarkItemInfo(R.layout.watermark_template_2,
                    R.color.watermark_color_1, R.drawable.ic_watermark_2_1,
                    R.drawable.watermark_2_1, 0));
            put(CATCHWORD_2, new WatermarkItemInfo(R.layout.watermark_template_2,
                    R.color.watermark_color_1, R.drawable.ic_watermark_2_2,
                    R.drawable.watermark_2_2, 0));

            put(REGARDS_0, new WatermarkItemInfo(R.layout.watermark_template_3,
                    R.color.watermark_color_1, R.drawable.ic_watermark_3_0,
                    R.drawable.watermark_3_0, 0));
            put(REGARDS_1, new WatermarkItemInfo(R.layout.watermark_template_3,
                    R.color.watermark_color_1, R.drawable.ic_watermark_3_1,
                    R.drawable.watermark_3_1, 0));
            put(REGARDS_2, new WatermarkItemInfo(R.layout.watermark_template_3,
                    R.color.watermark_color_7, R.drawable.ic_watermark_3_2,
                    R.drawable.watermark_3_2, 0));

            put(SELFIE_0, new WatermarkItemInfo(R.layout.watermark_template_4,
                    R.color.watermark_color_1, R.drawable.ic_watermark_4_0,
                    R.drawable.watermark_4_0, R.string.pref_watermark_entry_4_0));
            put(SELFIE_1, new WatermarkItemInfo(R.layout.watermark_template_4,
                    R.color.watermark_color_1, R.drawable.ic_watermark_4_1,
                    R.drawable.watermark_4_1, R.string.pref_watermark_entry_4_1));
            put(SELFIE_2, new WatermarkItemInfo(R.layout.watermark_template_4,
                    R.color.watermark_color_1, R.drawable.ic_watermark_4_2,
                    R.drawable.watermark_4_2, R.string.pref_watermark_entry_4_2));

            put(MOOD_0, new WatermarkItemInfo(R.layout.watermark_template_5,
                    R.color.watermark_color_1, R.drawable.ic_watermark_5_0,
                    R.drawable.watermark_5_0, R.string.pref_watermark_entry_5_0));
            put(MOOD_1, new WatermarkItemInfo(R.layout.watermark_template_5,
                    R.color.watermark_color_1, R.drawable.ic_watermark_5_1,
                    R.drawable.watermark_5_1, R.string.pref_watermark_entry_5_1));
            put(MOOD_2, new WatermarkItemInfo(R.layout.watermark_template_5,
                    R.color.watermark_color_1, R.drawable.ic_watermark_5_2,
                    R.drawable.watermark_5_2, R.string.pref_watermark_entry_5_2));
        }
    };

    public final static ArrayList<String> TRAVEL_ITEM_TAG_ARRAY = new ArrayList<String>() {
        {
            add(TRAVEL_0);
            add(TRAVEL_1);
            add(TRAVEL_2);
        }
    };

    public final static ArrayList<String> FOOD_ITEM_TAG_ARRAY = new ArrayList<String>() {
        {
            add(FOOD_0);
            add(FOOD_1);
            add(FOOD_2);
        }
    };

    public final static ArrayList<String> CATCHWORD_ITEM_TAG_ARRAY = new ArrayList<String>() {

        {
            add(CATCHWORD_0);
            add(CATCHWORD_1);
            add(CATCHWORD_2);
        }
    };

    public final static ArrayList<String> REGARDS_ITEM_TAG_ARRAY = new ArrayList<String>() {
        {
            add(REGARDS_0);
            add(REGARDS_1);
            add(REGARDS_2);
        }
    };

    public final static ArrayList<String> SELFIE_ITEM_TAG_ARRAY = new ArrayList<String>() {
        {
            add(SELFIE_0);
            add(SELFIE_1);
            add(SELFIE_2);
        }
    };

    public final static ArrayList<String> MOOD_ITEM_TAG_ARRAY = new ArrayList<String>() {
        {
            add(MOOD_0);
            add(MOOD_1);
            add(MOOD_2);
        }
    };

    public final static HashMap<String, Integer> TYPE_STRING_ID = new HashMap<String, Integer>() {
        {
            put(TYPE_TRAVEL, R.string.pref_watermark_page_title_0);
            put(TYPE_FOOD, R.string.pref_watermark_page_title_1);
            put(TYPE_CATCHWORD, R.string.pref_watermark_page_title_2);
            put(TYPE_REGARDS, R.string.pref_watermark_page_title_3);
            put(TYPE_SELFIE, R.string.pref_watermark_page_title_4);
            put(TYPE_MOOD, R.string.pref_watermark_page_title_5);

        }
    };

    public final static HashMap<String, Integer> TYPE_LAYOUT_ID = new HashMap<String, Integer>() {
        {
            put(TYPE_TRAVEL, R.layout.watermark_template_0);
            put(TYPE_FOOD, R.layout.watermark_template_1);
            put(TYPE_CATCHWORD, R.layout.watermark_template_2);
            put(TYPE_REGARDS, R.layout.watermark_template_3);
            put(TYPE_SELFIE, R.layout.watermark_template_4);
            put(TYPE_MOOD, R.layout.watermark_template_5);

        }
    };

    public final static HashMap<String, Integer> TYPE_COLUMN_NUM = new HashMap<String, Integer>() {
        {
            put(TYPE_TRAVEL, 3);
            put(TYPE_FOOD, 3);
            put(TYPE_CATCHWORD, 3);
            put(TYPE_REGARDS, 3);
            put(TYPE_SELFIE, 2);
            put(TYPE_MOOD, 2);

        }
    };

    public final static HashMap<String, List<String>> PAGE_ARRAY_TAG = new HashMap<String, List<String>>() {
        {
            put(TYPE_TRAVEL, TRAVEL_ITEM_TAG_ARRAY);
            put(TYPE_FOOD, FOOD_ITEM_TAG_ARRAY);
            put(TYPE_CATCHWORD, CATCHWORD_ITEM_TAG_ARRAY);
            put(TYPE_REGARDS, REGARDS_ITEM_TAG_ARRAY);
            put(TYPE_SELFIE, SELFIE_ITEM_TAG_ARRAY);
            put(TYPE_MOOD, MOOD_ITEM_TAG_ARRAY);

        }
    };

    public final static String TYPE_ARRAY[] = {
            TYPE_TRAVEL, TYPE_FOOD, TYPE_CATCHWORD, TYPE_REGARDS, TYPE_SELFIE, TYPE_MOOD,
    };

}
